package mapper;

import java.util.ArrayList;
import java.util.List;

public  class Mapper {

    private Host host;

    private int port;  //监听端口

    public String webappsPath;  //webapps的绝对路径

    List<String> servletUrlList = new ArrayList<>(); //解析的时候，将动态请求链接进行存储

    public Mapper(){

    }

    public Mapper(Host host) {
        this.host = host;
    }

    public Host getHost() {
        return host;
    }

    public void setHost(Host host) {
        this.host = host;
    }

    public int getPort() {
        return port;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public String getWebappsPath() {
        return webappsPath;
    }

    public void setWebappsPath(String webappsPath) {
        this.webappsPath = webappsPath;
    }

    public List<String> getServletUrlList() {
        return servletUrlList;
    }

    public void setServletUrlList(List<String> servletUrlList) {
        this.servletUrlList = servletUrlList;
    }
}
